﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SMSBatchSend.aspx.cs" Inherits="CRM.Web.MessagingManage.SMSBatchSend" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">

    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" >短信批量发送</asp:Label></div>
    </div>
	
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
</table>
   
    <div id="divMain" >
    <div style="width: 100%" id="tBodyMain">
        <table border="0" cellpadding="0" cellspacing="0" class="table">
            <caption>
            </caption> 
            <tr>
                <td class="title">
                    Excel来源:
                </td>
                <td class="content">
                   <asp:FileUpload ID="ImportFile" runat="server" size="60" />&nbsp;
                    <asp:Button ID="btnUpload" runat="server" Text="上传" OnClick="btnUpload_Click" CommandName="btnUpload" CausesValidation="false" />&nbsp;
                    <asp:HyperLink ID="hlDownTemplate" runat="server" Text="下载模版" Target="_blank" NavigateUrl="~/MessagingManage/SMSTemplate.xls" ></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td class="title">
                    Excel文件名:
                </td>
                <td class="content">
                    <asp:Label ID="lblFileName" runat="server" Style="" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="title">
                    Sheet表名:
                </td>
                <td class="content">
                     <asp:DropDownList ID="ddlSheetName" runat="server" Width="200px">
                    </asp:DropDownList>
                    &nbsp;
                    <asp:Label ID="lblFullName" runat="server" Style="display: none;" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="title">
                    客户姓名:
                </td>
                <td class="content">
                    <asp:TextBox ID="txtUNAME" runat="server" CssClass="txt" MaxLength="50" Rows="3"
                        TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvUNAME" runat="server"
                            ErrorMessage="*" Display="Dynamic" ControlToValidate="txtUNAME" Enabled="False"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="title">
                    标题:
                </td>
                <td class="content">
                    <asp:TextBox ID="txtSUBJECTS" runat="server" CssClass="txt txt90" MaxLength="50" Rows="3"
                        TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvSUBJECTS"
                            runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtSUBJECTS"
                            Enabled="False"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="title">
                    <span class="mark">*</span>内容:
                </td>
                <td class="content">
                    <asp:TextBox ID="txtBODYS" runat="server" CssClass="txt txt90" MaxLength="500" Rows="3"
                        TextMode="MultiLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvBODYS" runat="server"
                            ErrorMessage="*" Display="Dynamic" ControlToValidate="txtBODYS" Enabled="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </div>
    <div style="width: 100%" id="tBodyButton">
        <div class="btndiv">
		    <asp:Button ID="btnOK" runat="server" Text="确 定" CommandName="Save" CssClass="btn title_qd" OnClick="btnOK_Click" />
		    <span class="btnspan"><input id="btnCancel" runat="server" type="button" value="返回" class="btn title_fh" /></span>
	    </div>
    </div>
    </div>
    </form>
</body>
</html>
